package com.example.springboot_4_knife4j.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "用户A",title = "用户B",description = "用户的实体对象")
public class User implements Serializable {

    @Schema(description = "用户编号")
    private Integer id;
    @Schema(description = "用户姓名")
    private String name;
    @Schema(description = "用户年龄")
    private Integer age;
    @Schema(description = "用户性别")
    private String sex;
    @Schema(description = "是否删除")
    private Integer deleted;

}